<?php
class Xzsdsplus_Costpriceplus_Block_Js extends Mage_Core_Block_Template {
    
    public function getGroups() {
        $collection = Mage::getModel('costpriceplus/groups')->getCollection(); 
        return $collection;
    }
    protected function _getCurrencyCode() {
        $storeId = (int) $this->getRequest()->getParam('store', 0);
        return Mage::app()->getStore($storeId)->getBaseCurrency()->getCode();
    }
}
